package com.yunban.project.api.text_check.dto.coze;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author: lijiajun
 * @date: 2024-11-25
 * @version: 1.0
 */
@Data
@Schema(description = "CozeAI获取进度-返回结果")
public class CozeChatResp implements Serializable {

    /**
     * 已创建
     */
    public final static String STATUS_CREATED = "created";
    /**
     * 正在处理
     */
    public final static String STATUS_IN_PROGRESS = "in_progress";
    /**
     * 已完成
     */
    public final static String STATUS_COMPLETED = "completed";
    /**
     * 失败
     */
    public final static String STATUS_FAILED = "failed";
    /**
     * 对话中断，需要进一步处理
     */
    public final static String STATUS_REQUIRES_ACTION = "requires_action";
    /**
     * 已取消
     */
    public final static String STATUS_CANCELED = "canceled";

    @Serial
    private static final long serialVersionUID = 1L;

    private String id;
    private String bot_id;
    private String conversation_id;
    private String created_at;
    private String status;
}

